<html>
<head>
<title>POST test</title>
</head>
<body>

<form action='http://localhost/luasocket-cgi-bin/cat-stdin' enctype='multipart/form-data' method=POST>
<center>
<input type="file" name="attach">
<p>
<input type=submit name=sendmail value="send">
</center>
</form>
</body>
</html>
